import request from '@/utils/request'

export default {
  save(data) {
    return request({
      url: ``,
      method: 'post',
      data
    })
  },
  // /oaDjyd/index/queryList
  // 文宣发布查询
  list(page) {
    return request({
      url: `/oa/wenxuan/index/queryList`,
      method: 'get',
      params: { pageIndex: page.index, pageSize: page.size }
    })
  },
  delete(data) {
    return request({
      url: ``,
      method: 'delete',
      data
    })
  },
  getById(id) {
    return request({
      url: ``,
      method: 'get'
    })
  },
  ///oaDjyd/deleteByIds
  // /根据id批量删除
  deles(ids){
    return request({
      url:`/oa/wenxuan/deleteByIds`,
      method:'delete',
      data:ids
    })
  }

}
